import React, { memo } from 'react'

 function Button({add}) {
  console.log('btn执行了')
  return (
    <button onClick={()=>{
      add()
    }}>增加</button>
  )
}

export default memo(Button)
